package com.javasea.web.spock.mapper;

import com.javasea.web.spock.entity.User;
import org.springframework.stereotype.Repository;

/**
 * @ClassName HelloController
 * @Description TODO
 * @Author longxiaonan@163.com
 * @Date 2019/7/28 0028 0:54
 */
@Repository
public class UserMapper {

    public String sayHello(){
        System.out.println("HelloMapper");
        return "hello";
    }

    public User selectById(Long id) {
        return new User(id, "long", 222);
    }
}
